package com.shxc.smarttrade.old.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jcdev1 on 2017/7/26.
 */

public class Master extends ErrorStatus {

    /**
     * data : {"masters":[{"username":"bingly","userCode":"1357866","headUrl":"https://www.tigerwit.com/avatar/1357866_150.jpg","lot":185,"historySum":211,"succRate":59.29,"totalProfit":641.24},{"username":"LQ","userCode":"1523522","headUrl":"https://www.tigerwit.com/avatar/1523522_150.jpg","lot":76,"historySum":93,"succRate":72.82,"totalProfit":609.3},{"username":"菜鸟不菜大账户","userCode":"1356861","headUrl":"https://www.tigerwit.com/avatar/1356861_150.jpg","lot":298,"historySum":325,"succRate":85.39,"totalProfit":493.98},{"username":"易岳","userCode":"1318158","headUrl":"https://www.tigerwit.com/avatar/1318158_150.jpg","lot":1147,"historySum":46,"succRate":82.78,"totalProfit":442.25},{"username":"过山车的行情","userCode":"1351275","headUrl":"https://www.tigerwit.com/avatar/1351275_150.jpg","lot":102,"historySum":47,"succRate":47,"totalProfit":384.18},{"username":"正源","userCode":"1330625","headUrl":"https://www.tigerwit.com/avatar/1330625_150.jpg","lot":518,"historySum":180,"succRate":89.5,"totalProfit":382.29},{"username":"sy老乐","userCode":"1385680","headUrl":"https://www.tigerwit.com/avatar/1385680_150.jpg","lot":42,"historySum":39,"succRate":75.93,"totalProfit":377.4},{"username":"沐浴宸光","userCode":"1356821","headUrl":"https://www.tigerwit.com/avatar/1356821_150.jpg","lot":94,"historySum":54,"succRate":83.19,"totalProfit":242.1},{"username":"枝枝","userCode":"1305268","headUrl":"https://www.tigerwit.com/avatar/1305268_150.jpg","lot":831,"historySum":62,"succRate":86.67,"totalProfit":222.54},{"username":"大骨面","userCode":"1335827","headUrl":"https://www.tigerwit.com/avatar/1335827_150.jpg","lot":496,"historySum":66,"succRate":85,"totalProfit":209.63}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<MastersBean> masters;

        public List<MastersBean> getMasters() {
            return masters;
        }

        public void setMasters(List<MastersBean> masters) {
            this.masters = masters;
        }

        public static class MastersBean implements Serializable {
            /**
             * username : bingly
             * userCode : 1357866
             * headUrl : https://www.tigerwit.com/avatar/1357866_150.jpg
             * lot : 185
             * historySum : 211
             * succRate : 59.29
             * totalProfit : 641.24
             */

            private String username;
            private String userCode;
            private String headUrl;
            private int lot;
            private int historySum;
            private double succRate;
            private double totalProfit;

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getUserCode() {
                return userCode;
            }

            public void setUserCode(String userCode) {
                this.userCode = userCode;
            }

            public String getHeadUrl() {
                return headUrl;
            }

            public void setHeadUrl(String headUrl) {
                this.headUrl = headUrl;
            }

            public int getLot() {
                return lot;
            }

            public void setLot(int lot) {
                this.lot = lot;
            }

            public int getHistorySum() {
                return historySum;
            }

            public void setHistorySum(int historySum) {
                this.historySum = historySum;
            }

            public double getSuccRate() {
                return succRate;
            }

            public void setSuccRate(double succRate) {
                this.succRate = succRate;
            }

            public double getTotalProfit() {
                return totalProfit;
            }

            public void setTotalProfit(double totalProfit) {
                this.totalProfit = totalProfit;
            }
        }
    }
}
